<template>
	<view>
		<view class="container">
			<view class="top">
				<view>
					<image src="../../static/ct.png" mode="" style="height: 150rpx; width: 150rpx;"></image>
				</view>
				<view style="margin-left: 20rpx;">
					<view style="display: flex;justify-content:space-between;width: 450rpx;margin-bottom: 30rpx;">
						<text>{{name}}</text>
						<uni-icons type="phone-filled" size="30" @click="call"></uni-icons>
					</view>
					<view>
						<text>创意菜馆</text>
						<text style="margin-left: 20rpx;">|</text>
						<text style="margin-left: 20rpx;">9:00--21:00</text>
					</view>
				</view>
			</view>
			<view class="line"></view>
			<view>
				<uni-icons type="location-filled" size="30"></uni-icons>
				<text style="margin-left: 20rpx;">{{add}}</text>
			</view>
			<view class="text">
				<text>其他信息</text>
				<text>外卖配送时间 9:00--12:00</text>
				<text>配送范围：范围5000米内</text>
			</view>
			<view class="gray"></view>
			<view class="bottom">
				<view>
					<text>食品安全档案</text>
					<!-- <button type="default" @click="go">gogogo</button> -->
				</view>
				<view class="img">
					<image src="../../static/1.png" mode="" style="height: 250rpx; width: 300rpx;"></image>
					<image src="../../static/2.png" mode="" style="height: 250rpx; width: 300rpx;"></image>
				</view>
				<view>
					<text>店铺公告</text>
				</view>
				<view style="text-align:center; display: flex;flex-direction:column;">
					<text>这是店铺公告</text>
					<text>这是店铺公告</text>
					<text>这是店铺公告</text>
					<text>这是店铺公告</text>
					<text>这是店铺公告</text>
				</view>
			</view>

		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				name: '农家小炒',
				add: '重庆市江北区观音桥美食街3楼22号',

			}
		},
		methods: {
			go() {
				uni.reLaunch({
					url: "../paymentstatus/payment"
				})
			},
			call() {
				uni.makePhoneCall({
					phoneNumber:"13458863870"
				})
			}
		}
	}
</script>

<style>
	.img>image {
		margin: 20rpx 0rpx;
		margin-right: 27rpx;
	}

	.container {
		margin: 10rpx;
		border: 1px solid #999999;
		border-radius: 6rpx;
		height: 270rpx;
		background-color: #FFFFFF;
	}

	.top {
		padding: 20rpx;
		/* background-color: #007AFF; */
		height: 150rpx;
		display: flex;
		/* justify-content: flex-start; */
	}

	.line {
		margin-left: 10rpx;
		width: 690rpx;
		border-bottom: #999999 1px solid;
	}

	.text {
		margin-top: 30rpx;
		margin-left: 20rpx;
		display: flex;
		flex-direction: column
	}

	.text>text {
		margin-bottom: 20rpx;
	}

	.gray {
		border: #C0C0C0 5px solid;
	}

	.bottom {
		padding: 20rpx;

	}
</style>
